import {
  getTeam
} from '@/api/introduce'
// pages/team/team.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    bannerList: [],
    teamIntroduce: "暂无内容"
  },

  /**
   * 生命周期函数--监听页面加载
   */
  async onLoad(options) {
    const teamRes = await getTeam();
    console.log(teamRes);
    this.setData({
      bannerList: teamRes.data.pic,
      teamIntroduce: teamRes.data.introduction
    })
  
  },

})